/*
 * @Author: ૮₍ ˙О˙₎ა
 * @Date: 2023-07-17 14:42:59
 */
export interface reqAttrCategory {
  id: number
  name: string
  category1Id?: number
  category2Id?: number
}

export interface IAttrInfoList {
  attrName: string
  attrValueList: IAttrValueList[]
  categoryId: number | string
  categoryLevel: number
  id?: number | string
  selectAttr?: string
}

export interface AttrValueList {
  attrId: number
  id: number
  valueName: string
}

export interface ISaveAttrInfo {
  id?: number

  /**
   * 属性名
   */
  attrName: string
  /**
   * 属性值列表
   */
  attrValueList: IAttrValueList[]
  /**
   * 分类 id
   */
  categoryId: number
  /**
   * 分类等级
   */
  categoryLevel: number
}

export interface IAttrValueList {
  /**
   * 属性值
   */
  attrId?: number
  id?: number
  valueName?: string
  isEdit?: boolean
}
